<?php
class Sinhvien extends AppModel {

	var $name = 'Sinhvien';

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
		'Phuong' => array(
			'className' => 'Phuong',
			'foreignKey' => 'phuong_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Dantoc' => array(
			'className' => 'Dantoc',
			'foreignKey' => 'dantoc_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Doituong' => array(
			'className' => 'Doituong',
			'foreignKey' => 'doituong_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Lop' => array(
			'className' => 'Lop',
			'foreignKey' => 'lop_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

	var $hasOne = array(
		'Bauchon' => array(
			'className' => 'Bauchon',
			'foreignKey' => 'sinhvien_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Dangky' => array(
			'className' => 'Dangky',
			'foreignKey' => 'sinhvien_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Diemdanh' => array(
			'className' => 'Diemdanh',
			'foreignKey' => 'sinhvien_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Dkmh' => array(
			'className' => 'Dkmh',
			'foreignKey' => 'sinhvien_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Svcv' => array(
			'className' => 'Svcv',
			'foreignKey' => 'sinhvien_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

	var $hasMany = array(
		'Bauchon' => array(
			'className' => 'Bauchon',
			'foreignKey' => 'sinhvien_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		),
		'Dangky' => array(
			'className' => 'Dangky',
			'foreignKey' => 'sinhvien_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		),
		'Diemdanh' => array(
			'className' => 'Diemdanh',
			'foreignKey' => 'sinhvien_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		),
		'Dkmh' => array(
			'className' => 'Dkmh',
			'foreignKey' => 'sinhvien_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		),
		'Svcv' => array(
			'className' => 'Svcv',
			'foreignKey' => 'sinhvien_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		)
	);

}
?>